<{include file="../templates/admin/header.html"}>

<script type="text/javascript" src="js/admin_delete.js">
</script>
<style>
dl{clear:left;}
dt,dd{float:left;}
.current {
	color: #ffffff;
	background-color: #ff6600;
}
</style>

<style type="text/css">  

a:link { text-decoration: none !important; }
.pagination2 {  
    font-family: Tahoma;  
    height: 25px;  
    left: 50%;  
    padding: 30px 0 20px;  
    position: relative;  
}  
.page-bottom {  
    left: -50%;  
    position: relative;  
}  
.pagination2 .page-cur, .pagination .page-crt {  
    background-color: #FFEEE5;  
    border: 1px solid #FF5500;  
    color: #FF5500;  
    font-weight: 700;  
}  
.pagination2 a, .pagination .page-start, .pagination .page-end {  
    background-color: #FFFFFF;  
    border: 1px solid #CCCCCC;  
}  

/* .pagination a:visited{  
    background-color: #FFFFFF;  
    border: 1px solid #ff5500; 
	!important; 
}  */
.pagination2 a:hover{  
    background-color: #FFFFFF;  
    border: 1px solid #ff5500;  
}  

.pagination2 a, .page-info, .page-start, .page-end, .page-break, .page-skip, .page-cur, .page-crt {  
    float: left;  
    font-family: Arial,SimSun;  
    font-size: 13px;  
    height: 23px;  
    line-height: 23px;  
    margin-right: 5px;  
    min-width: 15px;  
    overflow: hidden;  
    padding: 0 5px;  
    text-align: center;  
    vertical-align: middle;  
    white-space: nowrap;  
}  
</style> 
<div class="list-div" id="listDiv">
<table width="100%" cellpadding="3" cellspacing="1" id="listTable">
  <tr>
    <th>商品类型名称</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  <{foreach from=$goods_type_list item=list}>
  <tr>
    <td class="first-cell"><span onclick="javascript:listTable.edit(this, 'edit_type_name', <{$list.cat_id}>)"><{$list.cat_name}></span></td>
    <td align="center"><img src="images/<{if $list.enabled}>yes<{else}>no<{/if}>.gif" ></td>
    <td align="center">
      <a href="attribute.php?act=list&cat_id=<{$list.cat_id}>" title="属性列表">属性列表</a> |
      <a href="goods_type.php?act=edit&cat_id=<{$list.cat_id}>" title="编辑">编辑</a> |
      <a href="javascript:;" onclick="remove(this,'goods_type.php?act=delete&id=<{$list.cat_id}>')" title="移除">移除</a>
    </td>
  </tr>
  <{/foreach}>
 </table> 
 <div class="form-div">
<form>
<div class="pagination2">  
 	<div class="page-bottom" id="pages">
   	<{$navigate}>
		<!-- <span class="page-skip">
		<form id="filterPageForm" name="filterPageForm" method="get" action="goods_type.php?<{if $action eq 'search'}>act=search<{else}>act=list<{/if}>">
		 当前第<{$pageNow}>页&nbsp;共<{$pageCount}>页 到第<input type="text" title="指定页码" name="id" id="jumpto" size="3" value="">页
		<input type="hidden" value="<{$pageCount}>" id="pageCount"/>
		<button title="指定页码" type="submit" id="skip">确定</button>  
		 </form> 
		</span>    -->  
 	</div>  
</div>
</form>
</div>
  
</div>
